/**
 * <p>Package : org.tea.springdata</p>
 * <p>E-Mail : ztlyde@gmail.com</p>
 */
package org.tea.springdata.jpa.service;

import java.io.Serializable;
import java.util.List;

import org.tea.springdata.jpa.domain.User;

/**
 * @Author: 张廷
 * @Description: 类描述
 * @Date: 2012-6-29
 * @Time: 下午5:32:25
 */
public interface IUserService {

	public void save(User user);

	public void delete(Long id);

	public void update(User user);

	public List<User> findAll();
	
	public User findSingle(Serializable id);
	
	public List<User> findAllUserWithName(String name);
	
	public List<User> findNameWithIndex(String name);
	
}
